﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCLCustomerManagement.DataTransferObjects.User;

namespace NCLCustomerManagement.BusinessLogic.User
{
    public interface IUserBC
    {
        bool Authenticate(string username, string password);
        bool Authenticate(string username, string password, out bool isAdmin, out string manager);

        IEnumerable<UserProfileDTO> GetUserListOf(string manager);
        UserProfileDTO GetUserByUsername(string username);
        void AddNewUser(UserProfileDTO userDto);
        void DeleteUser(string username);
        void ActivateUser(string username);
        void DeactivateUser(string username);
        //void UpdateUser(UserProfileDTO userDto);
        void ChangePassword(string username, string newPassword);
    }
}
